package com.cyk.test6.api

import com.cyk.test6.service.User
import com.cyk.test6.service.UserService
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController


@RestController
@RequestMapping("/user")
class UserApi(
    private val userService: UserService
) {

//    @GetMapping
//    fun info(id: Long): User {
//
////        userService.register("0571-12345678", "李云龙", "陕西省西安市xxx")
//    }


}